{include file="common/header"}
<!-- 编辑器 -->
<script charset="utf-8" src="/admin_static/library/kindeditor/kindeditor-all-min.js"></script>
<script charset="utf-8" src="/admin_static/library/kindeditor/lang/zh-CN.js"></script>
<!-- <link rel="stylesheet" type="text/css" href="/admin_static/css/plugins/webuploader/webuploader.css">
<link rel="stylesheet" type="text/css" href="/admin_static/css/demo/webuploader-demo.min.css"> -->

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
       
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox">
                  <div class="ibox-title">
                      <h5>订单详情</h5>
                       <span class="label label-primary pull-right label-primary-cust">
                          <a href="javascript:history.back(-1);" class="fa-lg-cust-a" title="返回上一页">
                              <i class="fa fa-arrow-left fa-lg-cust" aria-hidden="true"></i>
                          </a>
                      </span> 
                  </div>
                  <div class="row" style="margin-top: 20px;">
                        <div class="col-sm-6">
                           <div class="ibox">
                                <div class="ibox-title">
                                    <h5>订单信息</h5>
                                </div>
                                <div class="ibox-content">
                                    <p>订 单 号：<?php echo $res['order_code']; ?></p> 
                                    <p>订单金额：￥<?php echo $res['price']; ?></p>
                                    <p>支付金额：<span style="color:red;" class="allNum"> ￥<?php echo $res['pay_price']; ?></span></p>
                                    <p>订单状态：<?php echo $res['str_status']; ?></p>
                                    <p>下单时间：<?php echo $res['add_time']; ?></p>
                                    <p>订单备注：<?php echo empty($res['remark'])?'无':$res['remark']; ?></p>
                                </div>
                           </div>
                        </div>
                        <div class="col-sm-6">
                           <div class="ibox">
                                <div class="ibox-title">
                                    <h5>用户信息</h5>
                                </div>
                                <div class="ibox-content">
                                    <p>头      像：<img style="width:45px;" src="<?php echo $res['user_y_img']; ?>" alt=""></p> 
                                    <p>用  户  名：<?php echo $res['user_y_name']; ?></p> 
                                    <p>收件人姓名：<?php echo $res['user_name']; ?></p> 
                                    <p>收件人手机：<b style="color: blue"><?php echo $res['user_phone']; ?></b></p>
                                    <p>收件人地址：<?php echo $res['address']; ?></p>
                                </div>
                           </div>
                        </div>
                    </div>
                    <div class="row" style="margin-top: 20px;">
                        <div class="col-sm-12">
                           <div class="ibox">
                                <div class="ibox-title">
                                    <h5>商品信息</h5>
                                </div>
                                <?php foreach($goods_info as $key=>$val){ ?>
                                <div class="ibox-content">
                                    <p>商品图片：<img style="width:45px;" src="<?php echo $val['goods_img']; ?>" alt=""></p>
                                    <p>商品名称：<?php echo $val['goods_name']; ?></p> 
                                    <p>购买价格：<?php echo $val['goods_price']; ?></p>
                                    <p>购买数量：<?php echo $val['goods_num']; ?></p>
                                </div>
                                <?php } ?>
                           </div>
                        </div>
                  </div>
             </div>            
            </div>
           
        </div>
    </div>
</body>
{include file="common/footer"}
<script>

    //按钮样式
    $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});

</script>
